package com.qijian.maindata.domain.query;


import com.baomidou.mybatisplus.annotation.TableName;
import com.qijian.common.utils.mybatis.WhereType;
import com.qijian.common.utils.mybatis.WhereTypeEnum;
import lombok.Data;
import lombok.ToString;

import java.util.Set;


/**
 * 开工令备库项目对象 查询条件类
 *
 * @author qijian
 * @date 2023-12-25
 */

@Data
@ToString
@TableName("mp")
public class ProjectBeikuQuery {

    @WhereType(filed = "id")
    private Long id;
    @WhereType(filed = "id", type = WhereTypeEnum.IN)
    private Set<Long> ids;
    @WhereType(filed = "bk_project_id")
    private Long bkProjectId;
    @WhereType(filed = "bk_fid")
    private Long bkFid;
    @WhereType(filed = "project_id")
    private Long projectId;


    @WhereType(fields={"mp.project_name","mp.project_machine_no","mp.project_no","mp.machine_no","mp.project_machine_no","mp.nick_name","main_project_project_machine_no"},type = WhereTypeEnum.LIKE)
    private String condition;



}
